package com.itboy.mall.pms.spuinfodesc.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.itboy.common.core.domain.BaseEntity;

/**
 * spu信息介绍分页查询对象 mall_spu_info_desc
 *
 * @author itboy
 * @date 2021-08-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("spu信息介绍分页查询对象")
public class MallSpuInfoDescQueryBo extends BaseEntity {

    /**
     * 分页大小
     */
	@ApiModelProperty("分页大小")
	private Integer pageSize;
    /**
     * 当前页数
     */
	@ApiModelProperty("当前页数")
	private Integer pageNum;
    /**
     * 排序列
     */
	@ApiModelProperty("排序列")
	private String orderByColumn;
    /**
     * 排序的方向desc或者asc
     */
	@ApiModelProperty(value = "排序的方向", example = "asc,desc")
	private String isAsc;


    /**
     * 商品id
     */
	@ApiModelProperty("商品id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long spuId;

}
